package com.lxy.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("invitation")    //指定表名
public class Invitation {

    @TableId(type = IdType.AUTO)    //指定主键和自动增长
    private Integer id;

    private String title;   //@TableField(value = "v_id")  @TableField(exist = flash)

    private String summary;

    private String author;

    private Date createdate;

}